package com.lagou.zk;

/**
 * ZK服务器状态变化通知处理器接口
 */
public interface ServerInfoHandler {
    void onServerAdd(ServerInfoZk newServer) throws InterruptedException;

    void onServerRemove(ServerInfoZk rmvServer);

    void onServerUpdate(ServerInfoZk server) throws InterruptedException;
}
